package net.qhzw.vip.qiyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.qhzw.vip.qiyu.entity.SysPrivilege;

import java.util.List;

public interface SysPrivilegeMapper extends BaseMapper<SysPrivilege> {


    /***
     * 根据userID查询权限数据
     * @param userId
     * @return
     */
    List<SysPrivilege> findPrivilegeByUserId(Long userId);


}